import 'package:f_demo_two/pages/cart/index.dart';
import 'package:f_demo_two/pages/category/index.dart';
import 'package:f_demo_two/pages/home/index.dart';
import 'package:f_demo_two/pages/mine/index.dart';
import 'package:f_demo_two/pages/tab_bar_page.dart';
import 'package:flutter/material.dart';

void main() {
  runApp(
    MaterialApp(
      routes: {
        '/': (context) => const TabBarPage(),
        '/home': (context) => const HomePage(),
        '/category': (context) => const CategoryPage(),
        '/cart': (context) => const CartPage(),
        '/mine': (context) => const MinePage(),
      },
    ),
  );
}
